package user;

import book.BOOKLIST;
import ioperation.*;

public abstract class USER {
    protected String name;
    //子类帮助初始化父类的成员
    protected IOPERATION[] ioperations;

    public USER(String name){
        this.name = name;
    }
    public abstract int menu();
    public void doioperation(int choice, BOOKLIST booklist){
        ioperations[choice].work(booklist);
    }
}
